package com.zzw.service;

import com.zzw.entity.Purchase;
import com.zzw.entity.Result;
import com.zzw.page.Page;

/**
 * @Project: warehouse
 * @Description: 采购单业务接口
 * @Author: zzw
 */
public interface PurchaseService {

    // 添加采购单
    Result savePurchase(Purchase purchase);

    // 分页查询采购单
    Page queryPurchasePage(Page page, Purchase purchase);

    // 修改采购单
    Result updatePurchase(Purchase purchase);

    // 删除采购单
    Result deletePurchase(Integer buyId);

    Result updatePurchaseNum(Purchase purchase);

}
